package com.efast.cafe.portal.remote.base;



import java.util.List;
import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.efast.cafe.framework.feign.constant.FeignConstant;
import com.efast.cafe.framework.pager.Pagination;
import com.efast.cafe.portal.bean.base.CompanyBaseLovBean;
import com.efast.cafe.portal.bean.base.CompanyRecoveryDefaultLovBean;
import com.efast.cafe.portal.bean.base.DelCompanyLovBean;
import com.efast.cafe.portal.bean.base.PortalBaseLovBean;
import com.efast.cafe.portal.bean.base.PortalBaseLovQueryBean;
import com.efast.cafe.portal.entity.base.PortalBaseLov;


/******************************************************************************
 * @File name   :      PortalBaseLovService.java
 *
 * @Author      :      xl
 *
 * @Date        :      2016-6-7
 *
 * @Copyright Notice: 
 * Copyright (c) 2016 Efast Serv. All  Rights Reserved.
 * This software is published under the terms of the Efast Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * 2016-6-7 上午10:36:36        xl     1.0            Initial Version
 *****************************************************************************/
@FeignClient(name = "cafe.portal-service",path="/cafe.portal-service")
public interface PortalBaseLovService  {
	
	@RequestMapping(value = FeignConstant.Scope.FEIGN_SCOPE_PV_AUTH+"/portal/base/api_getPortalBaseLovListTrees",method=RequestMethod.POST)
	public  List<PortalBaseLov>  getPortalBaseLovListTrees(@RequestParam("paramKey") String paramKey);
	
	@RequestMapping(value = FeignConstant.Scope.FEIGN_SCOPE_PV_AUTH+"/portal/base/api_queryListByParamKey1",method=RequestMethod.POST)
	public List<PortalBaseLov> api_queryListByParamKey1(@RequestParam("paramKey")String paramKey);
	@RequestMapping(value = FeignConstant.Scope.FEIGN_SCOPE_PV_AUTH+"/portal/base/api_queryListByParamKey2",method=RequestMethod.POST)
	public List<PortalBaseLov> api_queryListByParamKey2(@RequestBody List<Map<String, Object>> map);
	
}
